import xlwt
from pythonDemo.com.xyh.mysql.AgentToOrder import random_str

if __name__ == '__main__':
    ids = []
    for ii in range( 62 ):
        s = random_str()
        ids.append( s )

    wbk = xlwt.Workbook()
    sheet = wbk.add_sheet( 'Sheet1', cell_overwrite_ok=True )

    for i in range( 0, len( ids ) ):
        sheet.write( i, 0, ids[i] )
        i + 1

    wbk.save( "demo.xlsx" )
